import { Notifier } from "./notifier";

// notifiers
export const notifier = new Notifier('cfw-global');
export const bridge = new Notifier('cfw-bridge');
export const inner = new Notifier('cfw-inner');

// mvc members
export const controllers: Array<any> = [];
export const mediators: Array<any> = [];
export const proxies: Array<any> = [];

// ecs members
export const entities: Array<any> = [];

// managers
export const managers: Partial<{
    scene: {
        hasLoaded(scene: string): boolean;
        addLoaded(scene: string): ThisType<any>;
        pushRecord(scene: string): ThisType<any>;
    }
}> = {};